<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
   <script type="text/javascript" src="${ctx}/res/js/systemMonitor/userOperationMonitor/userOperationMonitorDetails.js"></script>
</head>
<body>
	<div class="container">
		<div class="detail-info">
			<h1 class="title">操作日志详情</h1>
			<table>
				<tr>
					<td class="td_for_label">OPERATION.ID</td>
					<td class="td_for_input">${monitorOperationEntity.id }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.IP</td>
					<td class="td_for_input">${monitorOperationEntity.ip }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.EXPLORER_NAME</td>
					<td class="td_for_input">${monitorOperationEntity.explorerName }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.HOST_NAME</td>
					<td class="td_for_input">${monitorOperationEntity.hostName }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.OP_TYPE</td>
					<c:choose>
						<c:when test="${monitorOperationEntity.opType=='i'}">
							<td class="td_for_input">登录</td>
						</c:when>
						<c:when test="${monitorOperationEntity.opType=='o'}">
							<td class="td_for_input">登出</td>
						</c:when>
						<c:when test="${monitorOperationEntity.opType=='a'}">
							<td class="td_for_input">攻击</td>
						</c:when>
						<c:otherwise>
						    <td class="td_for_input">黑名单用户</td>
						</c:otherwise>
					</c:choose>					
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.MODULE_NAME</td>
					<td class="td_for_input">${monitorOperationEntity.moduleName }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.CREATE_TIME</td>
					<td class="td_for_input">${monitorOperationEntity.createTime }</td>
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.USERNAME</td>
					<td class="td_for_input">${monitorOperationEntity.createUser }</td>				 					
				</tr>
				<tr>
					<td class="td_for_label">OPERATION.USERNAME_CN</td>
					<c:choose>
						<c:when test="${monitorOperationEntity.userNameCN==null}">
							<td class="td_for_input">Anonymous</td>
						</c:when>
						<c:otherwise>
						   <td class="td_for_input">${monitorOperationEntity.userNameCN }</td>	
						</c:otherwise>
					</c:choose>											 					
				</tr>				
				<!-- 按键显示 -->
				<tr>
					<td style="text-align:center;padding:10px;" colspan="2">
						<div id="btnCancel" class="toolButton" onclick="backCurrentPage();">返回</div>
					</td>
				</tr>
			</table>
		</div>
		<form id="submitcurrentpage" method="post"
			action="${ctx}/systemMonitor/userOperationMonitor/userOperationMonitorList.do">
			<input type="hidden" name="pageType" value="lastest" />
		</form>
	</div>
</body>
</html>